home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1996 September / JCSM Shareware Collection (JCS Distribution) (September 1996).ISO / lottoprg / slotto21.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1994-01-01  |  2KB  |  100 lines

  1. cls
  2. echo off
  3. cls
  4. if '%1' =='' goto nogood
  5. if %1 == A: goto chkdisk
  6. if %1 == a: goto chkdisk
  7. if %1 == B: goto chkdisk
  8. if %1 == b: goto chkdisk
  9. goto nogood
  10.  
  11. :CHKDISK
  12. if %2 == C: goto doitnow
  13. if %2 == c: goto doitnow
  14. if %2 == D: goto doitnow
  15. if %2 == d: goto doitnow
  16. if %2 == E: goto doitnow
  17. if %2 == e: goto doitnow
  18. if %2 == F: goto doitnow
  19. if %2 == f: goto doitnow
  20. if %2 == G: goto doitnow
  21. if %2 == g: goto doitnow
  22. goto nogood
  23.  
  24. :DOITNOW
  25. cls
  26. echo -
  27. echo -          --------------------------------------------
  28. echo -          Super Lotto-Master Hard Disk Install Program
  29. echo -          --------------------------------------------
  30. echo -
  31. echo -           Installing Super Lotto-Master on drive %2
  32. echo -
  33. echo -           Press [Ctrl] [Break] now to stop install
  34. echo -                    then type Y at prompt
  35. echo -
  36. echo -                              OR
  37. echo -
  38. echo -               Press any key to continue install...
  39. echo -
  40. pause
  41. cls
  42. echo - Creating SUPERLOT [DIR] on %2 drive...
  43. if exist %2\SUPERLOT goto alreadythere
  44. md %2\SUPERLOT
  45. echo - Copying files to %2\SUPERLOT
  46. copy %1\*.* %2\SUPERLOT
  47. if not exist %2\SUPERLOT\MAINMENU.PRO goto baddir
  48. echo -
  49. echo - Installation was successful...
  50. echo -
  51. echo - To run Super Lotto-Master from the hard drive
  52. echo - Type: %2 then press [Enter]
  53. echo - Type: CD\SUPERLOT [Enter]
  54. echo - Type: GO [Enter]
  55. echo -
  56. echo -                  -=*=- Good Luck with the Lottery  -=*=-
  57. goto endofit
  58.  
  59. :NOGOOD
  60. cls
  61. echo -
  62. echo - Hard disk install program for Super Lotto-Master
  63. echo -
  64. echo -           INSTALL [source drive] [target drive]
  65. echo -
  66. echo - To install Super Lotto-Master from drive A: to Hard Drive C:
  67. echo -
  68. echo -           you would type...
  69. echo -
  70. echo -                            INSTALL A: C:
  71. goto endofit
  72.  
  73. :BADDIR
  74. cls
  75. echo -
  76. echo -           Super Lotto-Master install failed!
  77. echo -
  78. echo -           Drive %2 may be full or not ready!
  79. echo -
  80. echo -           Please check drive and try again...
  81. goto endofit
  82.  
  83. :ALREADYTHERE
  84. cls
  85. echo - The directory %2\SUPERLOT already exists...
  86. echo -
  87. echo - Install has been aborted...
  88. goto endofit
  89.  
  90. :ENDOFIT
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.